<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="icon" href="./钥匙.png" type="images/x-ico" />
    <style>
        body>div {
            width: 400px;
            height: 400px;
            background-color: #3e3e;
            display:flex;
            overflow-x:scroll;
        }
        body>div div  {
            flex:1;    
        }
        body>div div:nth-child(odd)  {
            background-color: #ff2323;
            
        }
    </style>
</head>
<body>
    <div>
        <div></div>
        <div><p>xxxxxxxxxxxxxxxxxxxxxxxxxx</p></div>
        <div></div>
    </div>
</body>
</html>